package com.broada.apm.indicator.api;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class DataModule {
	private static Logger LOG = LoggerFactory.getLogger(DataModule.class);
	public static void startup() {
		LOG.info("DataModule starting...");
		@SuppressWarnings("resource")
		ApplicationContext act = new ClassPathXmlApplicationContext("spring-data-context.xml");
		LOG.info("DataModule started. The ApplicationContext is " + act);
	}
}
